package com.igeek.config.ch03.circle.singleton;


import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Aspect
@Component
public class LogAspect {
    @Before("execution(* A.test())")
    public void beforeAdvice(){
        System.out.println("日志追踪 LogAspect beforeAdvice()~");
    }
}
